package com.rxt.service;

import com.rxt.model.domain.OOrders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rxt.model.domain.OOrdersDetail;
import com.rxt.model.vo.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 周梓文
 * @since 2023-08-24
 */
public interface IOOrdersService extends IService<OOrders> {

    List<String> generatedOrder(Long addrId, List<OrderDetailVo> orderDetailVos);

    void payFor(PayForVo payForVo);

    List<OOrdersDetail> getOrders(List<String> orderIdList);

    List<SaleOrderVo> getSaleOrder();

    SaleOrderVo getOrderById(String orderId);

    void changeStatus(String orderId);

    void confirmReceipt(Long id);

    List<MyOrderVo> getMyOrder(Integer status);
}
